#!/usr/bin/env python
#-*- coding: utf-8 -*-
import sys
import csv

slownik = {}

reader = csv.reader(open('./dane.txt','r'), delimiter=';', quoting=csv.QUOTE_NONE)
for row in reader:
  slownik[row[0]]=row[1]

klucze = slownik.keys()

for i in klucze:
  nook = 1
  while nook > 0:
    x = raw_input(" \n" + i + " \n")
    while x == "":
      print ("Nic nie wpisales")
      x = raw_input(i + " \n")
    if x == slownik.get(i,""):
      nook = 0
      print ("Poprawnie")
    else:
      nook = 1
      print ("Zle !!!")
